class_name TextBullet
extends Control
@onready var label: Label = $Label

func set_bullet_data(_content: String) -> void:
	await ready
	label.text = _content
	# 需要强制更新尺寸计算
	label.reset_size() 
	reset_size()
	custom_minimum_size = label.size + Vector2(20, 10) # 添加边距
